fix(deps): update cargo dependencies (minor)#341
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
Contributor
Author
|
5198e1f to
177e834
Compare
78925fa to
9e2e359
Compare
665c275 to
40cc215
Compare
40cc215 to
9e91f04
Compare
04da534 to
9e0384f
Compare
9e0384f to
adc6ce5
Compare
adc6ce5 to
ef93490
Compare
Owner
|
Superseded by #397, which batches these upgrades into a single PR with the code changes the breaking bumps require. |
mpecan
added a commit
that referenced
this pull request
Jun 20, 2026
## Summary Consolidates the three open Renovate PRs into a single branch, with the code fixes that the breaking upgrades actually require (several of which Renovate could not do on its own — its individual PRs would not have compiled). Supersedes: - #341 — cargo dependencies (minor) - #346 — keyring v4 - #386 — Rust 1.96 ## Toolchain - **Rust 1.93.0 → 1.96.0.** Fixed the new clippy lints surfaced by the bump (`sort_by_key` + `Reverse`, `map_or`, `is_ok_and`, `is_none_or`). ## Breaking upgrades (required code changes) - **keyring 3 → 4.** keyring is now a thin layer over `keyring-core`. Its default `v1` feature auto-selects the platform store (Keychain / Credential Manager / zbus Secret Service), so the old `apple-native`/`windows-native`/`linux-native` feature list is dropped (those names no longer exist in v4). The custom in-memory test backend is replaced with `keyring-core`'s `mock::Store` (shared per `(service, user)`, `ProcessOnly` persistence — round-trips correctly). Added `keyring-core` as a direct dependency for the mock. *Note:* on Linux the backend is now Secret Service rather than keyutils, which matches what the docs already state. - **sqlx 0.8.6 → 0.9.0.** `runtime-tokio-rustls` was split into `runtime-tokio` + `tls-rustls-ring`. Dynamic query strings now require a safety marker — audited and wrapped with `sqlx::AssertSqlSafe` (filter search routes + `crdb-test-macro`); all user input remains bound via `.bind()`. - **rand 0.9 → 0.10.** `Rng::fill` moved to the new `RngExt` trait. - **rusqlite 0.32 → 0.39** (Renovate proposed 0.40). 0.40 pulls `libsqlite3-sys` 0.38, which collides with sqlx-sqlite 0.9 on the `links = "sqlite3"` constraint in the workspace resolver. 0.39 shares `libsqlite3-sys` 0.37 with sqlx-sqlite 0.9, so it's the highest compatible version. ## Minor upgrades (no code changes) sha2 0.10 → 0.11, opentelemetry/opentelemetry_sdk/opentelemetry-otlp 0.31 → 0.32, tower-http 0.6 → 0.7, plus clap, clap_complete(_nushell), tokio, uuid, tempfile, toml, bytes, aws-sdk-s3, serial_test (via the lockfile). ## Testing - `cargo clippy --workspace --all-targets -- -D warnings` — clean - `cargo fmt --all -- --check` — clean - `cargo test --workspace` — all pass (DB/e2e tests remain `#[ignore]`d; not run) - `cargo check -p tokf --features otel-http` and `--features otel-grpc` — clean 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.119.0→1.137.01.11.1→1.12.04.5.60→4.6.14.5.66→4.6.54.5.10→4.6.00.31→0.320.31→0.320.31→0.320.9→0.100.32→0.400.32→0.403.4.0→3.5.00.10→0.11=0.8.6→=0.9.0=0.8.6→=0.9.03.25.0→3.27.03.25.0→3.27.01.49.0→1.52.31.49.0→1.52.31.0.3+spec-1.1.0→1.1.21.0.3+spec-1.1.0→1.1.20.6→0.71.21.0→1.23.31.21.0→1.23.3Release Notes
rust-random/rand (rand)
v0.10.1Compare Source
This release includes a fix for a soundness bug; see #1763.
Changes
make_rngand add#[track_caller](#1761)log(#1763)v0.10.0Compare Source
Changes
rand_chachahas been replaced with a dependency onchacha20. This changes the implementation behindStdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones inchacha20instead ofrand_chacha(#1642).IndexedRandom::choose_multiple->sample,choose_multiple_array->sample_array,choose_multiple_weighted->sample_weighted, structSliceChooseIter->IndexedSamplesand fnsIteratorRandom::choose_multiple->sample,choose_multiple_fill->sample_fill(#1632)Fillbe implemented for element types, not sliceable types (#1652)OsError::raw_os_erroron UEFI targets by returningOption<usize>(#1665)TryRngCore::read_adapter(..) -> RngReadAdapterwith simpler structRngReader(#1669)SeedableRng::from_os_rng,try_from_os_rng(#1674)Clonesupport forStdRng,ReseedingRng(#1677)postcardinstead ofbincodeto test the serde feature (#1693)IteratorRandom::samplewhenamountis much larger than iterator size (#1695)os_rng->sys_rng,OsRng->SysRng,OsError->SysError(#1697)Rng->RngExtas upstreamrand_corehas renamedRngCore->Rng(#1717)Additions
IndexedRandom::choose_iter,choose_weighted_iter(#1632)Xoshiro128PlusPlus,Xoshiro256PlusPlusprngs (#1649)ChaCha8Rng,ChaCha12Rng,ChaCha20Rngbehindchachafeature (#1659)rand::make_rng() -> R where R: SeedableRng(#1734)Removals
ReseedingRng(#1722)small_rng(#1732)v0.9.4Compare Source
Fixes
Full Changelog: rust-random/rand@0.9.3...0.9.4
Stebalien/tempfile (tempfile)
v3.27.0Compare Source
This release adds
TempPath::try_from_pathand deprecatesTempPath::from_path.Prior to this release,
TempPath::from_pathmade no attempts to convert relative paths into absolute paths. The following code would have deleted the wrong file:Now:
TempPath::from_pathwill attempt to convert relative paths into absolute paths. However, this isn't always possible as we need to callstd::env::current_dir, which can fail. If we fail to convert the relative path to an absolute path, we simply keep the relative path.TempPath::try_from_pathbehaves exactly likeTempPath::from_path, except that it returns an error if we fail to convert a relative path into an absolute path (or if the passed path is empty).Neither function attempt to verify the existence of the file in question.
Thanks to @meng-xu-cs for reporting this issue.
v3.26.0NamedTempFile::persiston RedoxOS (#393) (thanks to @Andy-Python-Programmer).uuid-rs/uuid (uuid)
v1.23.3Compare Source
What's Changed
Full Changelog: uuid-rs/uuid@v1.23.2...v1.23.3
v1.23.2Compare Source
What's Changed
Full Changelog: uuid-rs/uuid@v1.23.1...v1.23.2
v1.23.1Compare Source
What's Changed
msrvfeature from wasm-bindgen dependency by @guybedford in #877New Contributors
Full Changelog: uuid-rs/uuid@v1.23.0...v1.23.1
v1.23.0Compare Source
What's Changed
New Contributors
Special thanks
@meng-xu-cs raised a series of bugs against the timestamp logic in
uuidusing automated tooling. The issues themselves were reasonably and responsibly presented and the end result is a betteruuidlibrary for everyone. Thanks!Deprecations
This release includes the following deprecations:
Context: Renamed toContextV1Timestamp::from_gregorian: Renamed toTimestamp::from_gregorian_timeChange to
Version::MaxVersion::Max'su8representation has changed from0xffto0x0fto match the value returned byUuid::get_version_num.Change to
Uuid::get_versionfor the max UUIDUuid::get_versionwill only returnSome(Version::Max)if the UUID is actually the max UUID (all bytes are0xff). Previously it would returnSomeif only the version field was0x0f. This change matches the behaviour of the nil UUID, which only returnsSome(Version::Nil)if the UUID is the nil UUID (all bytes are0x00).Full Changelog: uuid-rs/uuid@v1.22.0...v1.23.0
v1.22.0Compare Source
What's Changed
New Contributors
Full Changelog: uuid-rs/uuid@v1.21.0...v1.22.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.